package org.aswing;

extern class JFrame extends JWindow {
	function new(?p0 : Dynamic, ?p1 : String, ?p2 : Bool) : Void;
	function closeReleased() : Void;
	function getDefaultCloseOperation() : Int;
	function getFrameUI() : org.aswing.plaf.FrameUI;
	function getIcon() : Icon;
	function getMaximizedBounds() : org.aswing.geom.IntRectangle;
	function getResizer() : org.aswing.resizer.Resizer;
	function getState() : Int;
	function getTitle() : String;
	function getTitleBar() : FrameTitleBar;
	function isClosable() : Bool;
	function isDragDirectly() : Bool;
	function isDragDirectlySet() : Bool;
	function isDragable() : Bool;
	function isResizable() : Bool;
	function isResizeDirectly() : Bool;
	function setClosable(p0 : Bool) : Void;
	function setDefaultCloseOperation(p0 : Int) : Void;
	function setDragDirectly(p0 : Bool) : Void;
	function setDragDirectlySet(p0 : Bool) : Void;
	function setDragable(p0 : Bool) : Void;
	function setIcon(p0 : Icon) : Void;
	function setMaximizedBounds(p0 : org.aswing.geom.IntRectangle) : Void;
	function setResizable(p0 : Bool) : Void;
	function setResizeDirectly(p0 : Bool) : Void;
	function setResizer(p0 : org.aswing.resizer.Resizer) : Void;
	function setState(p0 : Int, ?p1 : Bool) : Void;
	function setTitle(p0 : String) : Void;
	function setTitleBar(p0 : FrameTitleBar) : Void;
	function tryToClose() : Void;
	private var closable : Bool;
	private var defaultCloseOperation : Int;
	private var dragDirectly : Bool;
	private var dragDirectlySet : Bool;
	private var dragable : Bool;
	private var icon : Icon;
	private var lastNormalStateBounds : org.aswing.geom.IntRectangle;
	private var maximizedBounds : org.aswing.geom.IntRectangle;
	private var resizable : Bool;
	private var resizer : org.aswing.resizer.Resizer;
	private var resizerController : org.aswing.resizer.ResizerController;
	private var state : Int;
	private var title : String;
	private var titleBar : FrameTitleBar;
	private function doStateChange() : Void;
	private function fireStateChanged(?p0 : Bool) : Void;
	private function isMaximized() : Bool;
	private function precessIconified(?p0 : Bool) : Void;
	private function precessMaximized(?p0 : Bool) : Void;
	private function precessRestored(?p0 : Bool) : Void;
	private function setSizeToFixMaxmimized() : Void;
	static var DISPOSE_ON_CLOSE : Int;
	static var DO_NOTHING_ON_CLOSE : Int;
	static var HIDE_ON_CLOSE : Int;
	static var ICONIFIED : Int;
	static var MAXIMIZED : Int;
	static var MAXIMIZED_HORIZ : Int;
	static var MAXIMIZED_VERT : Int;
	static var NORMAL : Int;
	static var PROPERTY_TITLE_BAR : String;
}
